package com.aispeech.task.common.handler;

import com.aispeech.task.common.data.domain.Task;
import com.aispeech.task.common.exceptions.TaskException;

import java.util.Map;

public interface TaskHandler {
    void initialize(TaskManager manager, int eventThreads);

    void execute(Task task) throws TaskException;
}
